﻿ALTER TABLE [dbo].[ContentTemplateConstraint]
    ADD CONSTRAINT [FK_ContentTemplateConstraint_ContentTemplate] FOREIGN KEY ([RelatedTemplateId]) REFERENCES [dbo].[ContentTemplate] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

